import request from '@/utils/request'

const PATH='crm/clueTrack'
// 新增线索跟踪记录
export function addClueTrack(data) {
  return request({
    url: PATH,
    method: 'post',
    data: data
  })
}

//伪线索上报
export function falseClue(data) {
  return request({
    url: PATH,
    method: 'PUT',
    data: data
  })
}
//转商机
export function transformBusiness(data) {
  return request({
    url: PATH+"/transform",
    method: 'PUT',
    data: data
  })
}

// 捞取
export function resetClue(id) {
  return request({
    url: PATH+"/resetClue",
    method: 'PUT',
    data: {id:id,record:'重新捞取线索'}
  })
}


